package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-04
 */
public class Car extends Model<Car> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("car_id")
    private String carId;
    @TableField("car_driver")
    private String carDriver;
    @TableField("car_driver_card")
    private String carDriverCard;
    @TableField("car_driver_tell")
    private String carDriverTell;
    @TableField("car_driver_mobile")
    private String carDriverMobile;
    @TableField("car_driver_place")
    private String carDriverPlace;
    @TableField("car_type")
    private String carType;
    @TableField("car_load")
    private Double carLoad;
    @TableField("car_remember_id")
    private String carRememberId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarDriver() {
        return carDriver;
    }

    public void setCarDriver(String carDriver) {
        this.carDriver = carDriver;
    }

    public String getCarDriverCard() {
        return carDriverCard;
    }

    public void setCarDriverCard(String carDriverCard) {
        this.carDriverCard = carDriverCard;
    }

    public String getCarDriverTell() {
        return carDriverTell;
    }

    public void setCarDriverTell(String carDriverTell) {
        this.carDriverTell = carDriverTell;
    }

    public String getCarDriverMobile() {
        return carDriverMobile;
    }

    public void setCarDriverMobile(String carDriverMobile) {
        this.carDriverMobile = carDriverMobile;
    }

    public String getCarDriverPlace() {
        return carDriverPlace;
    }

    public void setCarDriverPlace(String carDriverPlace) {
        this.carDriverPlace = carDriverPlace;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Double getCarLoad() {
        return carLoad;
    }

    public void setCarLoad(Double carLoad) {
        this.carLoad = carLoad;
    }

    public String getCarRememberId() {
        return carRememberId;
    }

    public void setCarRememberId(String carRememberId) {
        this.carRememberId = carRememberId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Car{" +
        "id=" + id +
        ", carId=" + carId +
        ", carDriver=" + carDriver +
        ", carDriverCard=" + carDriverCard +
        ", carDriverTell=" + carDriverTell +
        ", carDriverMobile=" + carDriverMobile +
        ", carDriverPlace=" + carDriverPlace +
        ", carType=" + carType +
        ", carLoad=" + carLoad +
        ", carRememberId=" + carRememberId +
        "}";
    }
}
